package com.tycg.muyu.chat.mapper;

import com.tycg.muyu.chat.pojo.MUser;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by xiaowu on 2020/2/20
 */
@Repository
public interface UserMapper {
    /* 添加 */
    void insert(MUser user);

    /* 查询全部用户 */
    List<MUser> findAll();

    MUser findById(Long id);

    void deleteById(Long id);

    void update(MUser user);
}
